<form action="/myapp" method="post">
{% for i in object_list %}
{{i.title}}
{{i.credit}}
<a href="{% url blog_add %}">添加信息</a>
<a href="{% url blog_update blog.id %}">修改信息</a>
<a href="{% url blog_delete blog.id %}" onclick="return confirm('确定删除？')">删除</a>
{% endfor %}
</form>